package com.neuedu.service;

import java.util.List;
import java.util.Map;

import com.neuedu.model.UserMessage;

public interface UserMessageService {
	public int countUserMessage();
	public List<UserMessage> findAll(Map<String, Object> map);
	public int addUserMessage(UserMessage u);
	public int updateUserMessage(UserMessage u);
	public int deleteUserMessage(int id);
	
	/**
	 * 登录使用，用于根据账号，密码查询用户
	 */
	public UserMessage findUserMessageByName(UserMessage u);
}
